branchbefore/main/TimeRange refactor.cancel
7 Commits over 0 Days - ∞cph!
Time Range Score now takes current hour and current minute, for a smoother score over time.
Unit test of Time Range and fixes for the stuff it unveiled.
Added an EvaluateSimple function to ResponseCurve API, which only evaluates using the simplest form possible of the curve type specified (only support linear functions and normal distribution right now). Doesn't allow the tweaking of slope, exponential, and hor/vert shifts.
Current Time should only add a day if it's hour is less than the start time hour, and the end time day is greater than the start time day.
Removed PeakTime from Score and TimeRangeParams. PeakHour is still used, but only by editor.
Moved time range functionality over to using DateTime/TimeSpan.